home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / overview / dtscpluslibrary / sources / toolboxtest.cp < prev    next >
Encoding:
Text File  |  2000-06-23  |  1.5 KB  |  51 lines

  1. /*
  2.     File:        ToolboxTest.cp
  3.  
  4.     Contains:    TToolbox is a Toolbox initialization and testing class.
  5.                   TestToolbox.cp contains the testing code for testing TToolbox.
  6.  
  7.     Written by:  Kent Sandvik    
  8.  
  9.     Copyright:    Copyright © 1992-1999 by Apple Computer, Inc., All Rights Reserved.
  10.  
  11.                 You may incorporate this Apple sample source code into your program(s) without
  12.                 restriction. This Apple sample source code has been provided "AS IS" and the
  13.                 responsibility for its operation is yours. You are not permitted to redistribute
  14.                 this Apple sample source code as "Apple sample source code" after having made
  15.                 changes. If you're going to re-distribute the source, we require that you make
  16.                 it clear in the source that the code was descended from Apple sample source
  17.                 code, but that you've made changes.
  18.  
  19.     Change History (most recent first):
  20.                 8/18/1999    Karl Groethe    Updated for Metrowerks Codewarror Pro 2.1
  21.                 
  22.  
  23. */
  24. #ifndef _TOOLBOX_
  25. #include "Toolbox.h"
  26. #endif
  27.  
  28. // This is a trivial test, all it does is to call the init phase of the TToolbox class,
  29. // and that all it should do anyway…
  30.  
  31. void main(void)
  32. {
  33.     cout << "Start of TToolbox test…\n";
  34.  
  35.     //    Initialize environment.
  36.     TToolbox myToolbox;
  37.     myToolbox.Initialize();
  38.  
  39.     cout << "End of TToolbox test!\n";
  40. }
  41.  
  42. // _________________________________________________________________________________________________________ //
  43.  
  44.  
  45. /*    Change History (most recent last):
  46.   No        Init.    Date        Comment
  47.   1            khs        6/6/92        New file
  48.   2            khs        1/3/93        Cleanup
  49. */
  50.  
  51.